package com.ruoyi.complex.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 综测目录对象 complex_directory
 * 
 * @author wky
 * @date 2024-08-10
 */
@Schema(description = "综测目录对象")
public class ComplexDirectory extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    @Schema(defaultValue = "")
    private Long directoryId;
    /** 项目描述 */
    @Schema(defaultValue = "项目描述")
    @Excel(name = "项目描述")
    private String directoryName;
    /** 顶级目录 */
    @Schema(defaultValue = "顶级目录")
    @Excel(name = "顶级目录")
    private String ancestorName;
    /** 显示顺序 */
    @Schema(defaultValue = "显示顺序")
    @Excel(name = "显示顺序")
    private Long orderNumber;

    private Long isExport;

    public Long getIsExport() {
        return isExport;
    }

    public void setIsExport(Long isExport) {
        this.isExport = isExport;
    }

    public void setDirectoryId(Long directoryId) {
        this.directoryId = directoryId;
    }

    public Long getDirectoryId() {
        return directoryId;
    }

    public void setDirectoryName(String directoryName) {
        this.directoryName = directoryName;
    }

    public String getDirectoryName() {
        return directoryName;
    }

    public void setAncestorName(String ancestorName) {
        this.ancestorName = ancestorName;
    }

    public String getAncestorName() {
        return ancestorName;
    }

    public void setOrderNumber(Long orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() {
        return orderNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("directoryId", getDirectoryId())
                .append("directoryName", getDirectoryName())
                .append("parentId", getParentId())
                .append("ancestorName", getAncestorName())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("orderNumber", getOrderNumber())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}